<h:inputText id="name" value="#{systemController.project.name}">
  <f:validateLength minimum="2" maximum="50"/>
</h:inputText>